cmake_minimum_required(VERSION 3.10)
project(os)

include_directories(${HEAD_PATH})

set(LIBRARY_OUTPUT_PATH  ${LIB_PATH})

file(GLOB_RECURSE SRC ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)

add_library(${OS_LIB} SHARED ${SRC})

target_link_libraries(${OS_LIB}
        sqlite3
        pq
        mysqlcppconn
        pthread
)
